package com.heima.search.config;

import lombok.Data;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@ConfigurationProperties(prefix = "es")
@Data
@Component
public class ESProperties {

    private String host;
    private Integer port;
    private String scheme;
}
